package com.example.service.Imp;

import com.example.dao.TeacherDao;
import com.example.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class TeacherServiceImp implements TeacherService {


    @Autowired
    private  TeacherDao teacherDao;


    @Override
    public void print() {
        System.out.println("teacherservice");
        teacherDao.print();
    }
}
